function promise1() {
  return new Promise((resolve, reject) => {
    resolve(111);
  });
}

async function test() {
  const data = await promise1();
  console.log(data);
}

test();
